#include<iostream>
#include<cstring>
#include<sys/types.h>
#include<unistd.h>

#include<cstdio>

using namespace std;
int main()
{
	//库函数
	printf("hello printf\n");
	fprintf(stdout,"hello fprintf\n");
	const char * s ="hello fwirte\n";
	fwrite(s,strlen(s),1,stdout);
	
	//系统调用
	const char * ss ="hello write\n";
	write(1,ss,strlen(ss));

	fork();
	return 0;
}
